package com.jiyun.feign;

import com.jiyun.entity.day09.SjDTO1;
import com.jiyun.vo.ResultResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Title: SjFeign
 * @Author 杜瑞
 * @Date 2023/9/1 10:56
 */
@FeignClient("day09-sj")
public interface SjFeign {

    @RequestMapping("/sj/findAll1")
    public ResultResponse findAll1(@RequestBody SjDTO1 sjDTO1);

    @RequestMapping("/sj/findAllDate")
    public ResultResponse findAllDate(@RequestBody SjDTO1 sjDTO1);

    @RequestMapping("/sj/findAllMax")
    public ResultResponse findAllMax(@RequestBody SjDTO1 sjDTO1);
}
